package com.liws.helloUpload.service;

import com.liws.helloUpload.model.PicUploadResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: liweisheng
 * @Dcscription:
 * @Date: 2022/1/5 9:41
 */
public interface FileUploadService {
    //单图片上传
    PicUploadResult uplodadImg(MultipartFile multipartFile, HttpServletRequest request);

    //多图片上传
    PicUploadResult uploadManyImg(MultipartFile[] uploadFile, HttpServletRequest request);

}
